package com.ants.boot.wx.service;

import com.ants.boot.wx.domain.WxArticle;
import com.ants.boot.wx.dto.wxarticle.WxPageInfoDto;
import com.ants.boot.wx.vo.wxarticle.DetailArticleVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author 蚂蚁会花呗
 * @date 2022/6/7 10:08
 */
public interface WxArticleService extends IService<WxArticle> {
    /**
     * 微信分页
     * @param dto
     * @return
     */
    List<WxArticle> wxPageInfo(WxPageInfoDto dto);

    /**
     * 根据id获取详情
     * @param id
     * @return
     */
    DetailArticleVo getDetailArticle(Long id);
}
